package com.example.tallybook;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

import androidx.annotation.Nullable;

public class MySqlHold extends SQLiteOpenHelper {


    public MySqlHold(@Nullable Context context) {
        super(context, "shuju", null, 1);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table jilu(id int ,spinn varchar(20),time varchar(100), didian varchar(200), money varchar(20) , beizhu varchar(200))");
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
